package com.situ.gym.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.situ.gym.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.gym.pojo.query.AdminQuery;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-08-23
 */
public interface AdminMapper extends BaseMapper<Admin> {

    IPage<Admin> list(IPage<Admin> page, AdminQuery adminQuery);

    void deleteAll(Integer[] ids);

    Admin selectByName(String name);
}
